{include file="public/layout.htm" /}
<body class="back-c">
    <div class="ey-content">
        <div class="ey-header">
            <div class="ey-header-status">
                <div class="header-status-l">
                    <a href="{:weapp_url('Mbackend/Mbackend/index')}"><i class="iconfont icon-left"></i></a>
                </div>
                <div class="header-status-m">
                    留言管理
                </div>
                <div class="header-status-r">
                    <div class="choose">
                        <a href="javascript:void(0);" onclick="openFilter();"><i class="iconfont icon-sousuo"></i></a>
                    </div>
                </div>
            </div>
            <div class="tab-block-lin-height"></div>
            <div class="tab-block">
                <div class="scroll tab-wrap">
                    <div class="ey-scroll-view">
                        <div class="ey-scroll-view-x">
                            <div class="ey-scroll-view-content">
                                {volist name='$gbCountList' id='vo'}
                                <a class="tab-item {eq name='$count_type' value='$vo.type'}active{/eq}" href="javascript:void(0);" onclick="gbCountSubmit(this, '{$vo.type}');" title="{$vo.name}〔{$vo.count}〕">
                                    {$vo.name} <i>{$vo.count}</i>
                                </a>
                                {/volist}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="ey-header-lin-height"></div>
        <div class="order-list-wrap">
            <div class="ey-drawer screen-wrap ey-drawer-visible ey-drawer-right" id="openFilter" style="display: none;">
                <div class="ey-drawer-mask" onclick="closeFilter();"></div>
                <div class="ey-drawer-content ey-drawer-search">
                    <div class="title color-tip">
                        <div class="title-fl">搜索</div> 
                        <div onclick="closeFilter();"><i class="iconfont icon-guanbi"></i></div>
                    </div>
                    <div class="ey-scroll-con">
                        <div class="ey-scroll-view">
                            <div class="ey-scroll-view" style="overflow: hidden auto;">
                                <div class="ey-scroll-view-content">
                                    <div class="search-wrap">
                                        <div class="search-input-inner">
                                        <form id="postForm" action="{:weapp_url('Mbackend/Form/index')}" method="get" onsubmit="layerLoading();" style="display: unset;">
                                            {$searchform.hidden|default=''}
                                            <input type="hidden" name="typeid" id="typeid" value="{$typeid|default=''}">
                                            <input type="hidden" name="form_type" id="form_type" value="{$form_type|default=''}">
                                            <input type="hidden" name="count_type" id="count_type" value="{$count_type|default=''}">
                                            <input type="hidden" name="iframe" id="iframe" value="{$iframe|default=''}">
                                            <div class="ey-input-group">
                                                <input type="text" class="ey-input-inner" name="keywords" value="{$Request.param.keywords}" placeholder="模糊搜索...">
                                                <div class="ey-input-group-append">
                                                    <button type="submit" class="ey-button"> <i class="iconfont icon-sousuo"></i> </button>
                                                </div>
                                            </div>
                                        </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        
        <div class="mescroll-ey-warp list-wrap">
            <div class="mescroll-ey mescroll-ey-fixed list-form">
                <div class="mescroll-ey-content">
                    {empty name="list"}
                    <div class="null-data-con" style="display: none;">
                        <div class="blank"></div>
                        <div class="null-data-box" style="height: calc(100vh - 201px);">
                            <div class="null-data">
                                <img src="__WEAPP_TEMPLATE__/skin/images/null-data.png">
                            </div>
                        </div>
                    </div>
                    {else/}
                    <!-- 列表数据 -->
                    {include file="form/form_list.htm" /}
                    <span id="unifiedAjaxAppendList"></span>
                    {/empty}
                </div>
                <!-- 列表分页 -->
                {include file="public/page.htm" /}
            </div>
        </div>
    </div>
    <script type="text/javascript">
        function gbCountSubmit(obj, count_type) {
            layerLoading();
            $('input[name=count_type]').val(count_type);
            $('#postForm').submit();
        }
    </script>
</body>
{include file="public/footer.htm" /}
